package com.tuoxie.practice01;
import java.util.Scanner;

public class _02 {
    public static void main(String[] args) {
        // if else & else if

        Scanner scan = new Scanner(System.in);
        System.out.println("请输入一个数字：");
        int a = scan.nextInt();
        if (a > 1) {
            System.out.println("数字大于1");
        }
        else if (a == 1) {
            System.out.println("数字等于1");
        }
        else {
            System.out.println("数字小于1");
        }

    }
}
